package com.crm.dao.mapper.courseregist;

import com.crm.model.entity.courseregist.CourseRegistration;
import com.crm.model.entity.courseregist.CourseRegistrationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CourseRegistrationMapper {
    long countByExample(CourseRegistrationExample example);

    int deleteByExample(CourseRegistrationExample example);

    int deleteByPrimaryKey(String courseRegistrationId);

    int insert(CourseRegistration record);

    int insertSelective(CourseRegistration record);

    List<CourseRegistration> selectByExample(CourseRegistrationExample example);

    CourseRegistration selectByPrimaryKey(String courseRegistrationId);

    int updateByExampleSelective(@Param("record") CourseRegistration record, @Param("example") CourseRegistrationExample example);

    int updateByExample(@Param("record") CourseRegistration record, @Param("example") CourseRegistrationExample example);

    int updateByPrimaryKeySelective(CourseRegistration record);

    int updateByPrimaryKey(CourseRegistration record);
}